<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pyprocessing.transformations</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pyprocessing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pyprocessing-module.html">Package&nbsp;pyprocessing</a> ::
        Module&nbsp;transformations
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pyprocessing.transformations-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module transformations</h1><p class="nomargin-top"><span class="codelink"><a href="pyprocessing.transformations-pysrc.html">source&nbsp;code</a></span></p>
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="pushMatrix"></a><span class="summary-sig-name">pushMatrix</span>()</span><br />
      Saves current transformation</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#pushMatrix">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="popMatrix"></a><span class="summary-sig-name">popMatrix</span>()</span><br />
      Restores previous transformation</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#popMatrix">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="resetMatrix"></a><span class="summary-sig-name">resetMatrix</span>()</span><br />
      Loads an identity matrix</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#resetMatrix">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="applyMatrix"></a><span class="summary-sig-name">applyMatrix</span>(<span class="summary-sig-arg">n00</span>,
        <span class="summary-sig-arg">n01</span>,
        <span class="summary-sig-arg">n02</span>,
        <span class="summary-sig-arg">n03</span>,
        <span class="summary-sig-arg">n04</span>,
        <span class="summary-sig-arg">n05</span>,
        <span class="summary-sig-arg">n06</span>,
        <span class="summary-sig-arg">n07</span>,
        <span class="summary-sig-arg">n08</span>,
        <span class="summary-sig-arg">n09</span>,
        <span class="summary-sig-arg">n10</span>,
        <span class="summary-sig-arg">n11</span>,
        <span class="summary-sig-arg">n12</span>,
        <span class="summary-sig-arg">n13</span>,
        <span class="summary-sig-arg">n14</span>,
        <span class="summary-sig-arg">n15</span>)</span><br />
      Applies matrix.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#applyMatrix">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="shearX"></a><span class="summary-sig-name">shearX</span>(<span class="summary-sig-arg">angle</span>)</span><br />
      Shears a shape around the x-axis the amount specified by the angle 
      parameter</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#shearX">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="shearY"></a><span class="summary-sig-name">shearY</span>(<span class="summary-sig-arg">angle</span>)</span><br />
      Shears a shape around the y-axis the amount specified by the angle 
      parameter.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#shearY">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getMatrix"></a><span class="summary-sig-name">getMatrix</span>()</span><br />
      Returns the MODELVIEW matrix as a tuple.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#getMatrix">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="getProjection"></a><span class="summary-sig-name">getProjection</span>()</span><br />
      Returns the PROJECTION matrix as a tuple.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#getProjection">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="printMatrix"></a><span class="summary-sig-name">printMatrix</span>()</span><br />
      Prints the MODELVIEW matrix.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#printMatrix">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="printProjection"></a><span class="summary-sig-name">printProjection</span>()</span><br />
      Prints the PROJECTION matrix.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#printProjection">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="translate"></a><span class="summary-sig-name">translate</span>(<span class="summary-sig-arg">x</span>,
        <span class="summary-sig-arg">y</span>,
        <span class="summary-sig-arg">z</span>=<span class="summary-sig-default">0</span>)</span><br />
      Translation transformation</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#translate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.transformations-module.html#rotate" class="summary-sig-name">rotate</a>(<span class="summary-sig-arg">*args</span>)</span><br />
      Rotation transformation.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#rotate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.transformations-module.html#rotateZ" class="summary-sig-name">rotateZ</a>(<span class="summary-sig-arg">*args</span>)</span><br />
      Rotation transformation.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#rotate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="rotateX"></a><span class="summary-sig-name">rotateX</span>(<span class="summary-sig-arg">angle</span>)</span><br />
      Rotation around the X axis</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#rotateX">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="rotateY"></a><span class="summary-sig-name">rotateY</span>(<span class="summary-sig-arg">angle</span>)</span><br />
      Rotation around the Y axis</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#rotateY">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="scale"></a><span class="summary-sig-name">scale</span>(<span class="summary-sig-arg">*args</span>)</span><br />
      Scale transformation</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#scale">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.transformations-module.html#camera" class="summary-sig-name">camera</a>(<span class="summary-sig-arg">*args</span>)</span><br />
      Args should either be empty or be of the form 
      (eyex,eyey,eyez,centerx, centery, centerz, upx, upy, upz).</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#camera">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.transformations-module.html#perspective" class="summary-sig-name">perspective</a>(<span class="summary-sig-arg">*args</span>)</span><br />
      Args should either be empty or be of the form 
      (fov,aspect,znear,zfar).</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#perspective">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.transformations-module.html#ortho" class="summary-sig-name">ortho</a>(<span class="summary-sig-arg">*args</span>)</span><br />
      Args should either be empty or be of the form (left, right, bottom, 
      top, near, far).</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#ortho">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="screenXYZ"></a><span class="summary-sig-name">screenXYZ</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the projected space coordinates of object coordinates 
      ox,oy,oz</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenXYZ">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="screenX"></a><span class="summary-sig-name">screenX</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the x coordinate of screenXYZ(ox,oy,oz)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenX">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="screenY"></a><span class="summary-sig-name">screenY</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the y coordinate of screenXYZ(ox,oy,oz)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenY">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="screenZ"></a><span class="summary-sig-name">screenZ</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the Z coordinate of screenXYZ(ox,oy,oz)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenZ">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="modelX"></a><span class="summary-sig-name">modelX</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the x coordinate of screenXYZ(ox,oy,oz)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenX">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="modelXYZ"></a><span class="summary-sig-name">modelXYZ</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the projected space coordinates of object coordinates 
      ox,oy,oz</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenXYZ">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="modelY"></a><span class="summary-sig-name">modelY</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the y coordinate of screenXYZ(ox,oy,oz)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenY">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="modelZ"></a><span class="summary-sig-name">modelZ</span>(<span class="summary-sig-arg">ox</span>,
        <span class="summary-sig-arg">oy</span>,
        <span class="summary-sig-arg">oz</span>)</span><br />
      Returns the Z coordinate of screenXYZ(ox,oy,oz)</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.transformations-pysrc.html#screenZ">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ADD"></a><span class="summary-name">ADD</span> = <code title="1">1</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="BEVEL"></a><span class="summary-name">BEVEL</span> = <code title="'BEVEL'"><code class="variable-quote">'</code><code class="variable-string">BEVEL</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="BLEND"></a><span class="summary-name">BLEND</span> = <code title="0">0</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="BURN"></a><span class="summary-name">BURN</span> = <code title="13">13</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DARKEST"></a><span class="summary-name">DARKEST</span> = <code title="3">3</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DIFFERENCE"></a><span class="summary-name">DIFFERENCE</span> = <code title="5">5</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DODGE"></a><span class="summary-name">DODGE</span> = <code title="12">12</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="EXCLUSION"></a><span class="summary-name">EXCLUSION</span> = <code title="6">6</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="HARD_LIGHT"></a><span class="summary-name">HARD_LIGHT</span> = <code title="10">10</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="IMAGE"></a><span class="summary-name">IMAGE</span> = <code title="'IMAGE'"><code class="variable-quote">'</code><code class="variable-string">IMAGE</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="LIGHTEST"></a><span class="summary-name">LIGHTEST</span> = <code title="4">4</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MITER"></a><span class="summary-name">MITER</span> = <code title="'MITER'"><code class="variable-quote">'</code><code class="variable-string">MITER</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MULTIPLY"></a><span class="summary-name">MULTIPLY</span> = <code title="7">7</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="NORMALIZED"></a><span class="summary-name">NORMALIZED</span> = <code title="'NORMALIZED'"><code class="variable-quote">'</code><code class="variable-string">NORMALIZED</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="OVERLAY"></a><span class="summary-name">OVERLAY</span> = <code title="9">9</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PROJECT"></a><span class="summary-name">PROJECT</span> = <code title="'PROJECT'"><code class="variable-quote">'</code><code class="variable-string">PROJECT</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ROUND"></a><span class="summary-name">ROUND</span> = <code title="'ROUND'"><code class="variable-quote">'</code><code class="variable-string">ROUND</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SCREEN"></a><span class="summary-name">SCREEN</span> = <code title="8">8</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SOFT_LIGHT"></a><span class="summary-name">SOFT_LIGHT</span> = <code title="11">11</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SQUARE"></a><span class="summary-name">SQUARE</span> = <code title="'SQUARE'"><code class="variable-quote">'</code><code class="variable-string">SQUARE</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SUBTRACT"></a><span class="summary-name">SUBTRACT</span> = <code title="2">2</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="e"></a><span class="summary-name">e</span> = <code title="2.71828182846">2.71828182846</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="pi"></a><span class="summary-name">pi</span> = <code title="3.14159265359">3.14159265359</code>
    </td>
  </tr>
</table>
<!-- ==================== FUNCTION DETAILS ==================== -->
<a name="section-FunctionDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Function Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-FunctionDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="rotate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">rotate</span>(<span class="sig-arg">*args</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.transformations-pysrc.html#rotate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Rotation transformation. Angles in radians</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="rotateZ"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">rotateZ</span>(<span class="sig-arg">*args</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.transformations-pysrc.html#rotate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Rotation transformation. Angles in radians</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="camera"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">camera</span>(<span class="sig-arg">*args</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.transformations-pysrc.html#camera">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Args should either be empty or be of the form (eyex,eyey,eyez,centerx,
  centery, centerz, upx, upy, upz). Creates a viewing transformation given 
  the camera position (eyex,eyey,eyez), the center of the scene (centerx, 
  centery, centerz) and a vector to be used as the up direction (upx, upy, 
  upz). If no args are passed, the standard camera is created.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="perspective"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">perspective</span>(<span class="sig-arg">*args</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.transformations-pysrc.html#perspective">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Args should either be empty or be of the form (fov,aspect,znear,zfar).
  Loads a perspective projection matrix, where fov is the field-of-view 
  angle (in radians) for vertical direction, aspect is the ratio of width 
  to height, znear is the z-position of nearest clipping plane and zfar is 
  the z-position of nearest farthest plane. If no args are passed, the 
  standard projection is created, i.e, equivalent to perspective(PI/3.0, 
  width/height, cameraZ/10.0, cameraZ*10.0) where cameraZ is ((height/2.0) 
  / tan(PI*60.0/360.0)).</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="ortho"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">ortho</span>(<span class="sig-arg">*args</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.transformations-pysrc.html#ortho">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Args should either be empty or be of the form (left, right, bottom, 
  top, near, far). Loads an orthogonal projection matrix. The clipping 
  volume in this case is an axes-aligned parallelepiped, where left and 
  right are the minimum and maximum x values, top and bottom are the 
  minimum and maximum y values, and near and far are the minimum and 
  maximum z values. If no parameters are given, the default is used: 
  ortho(0, width, 0, height, -10, 10).</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pyprocessing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Jun 11 22:06:46 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
